package com.etone.smartAudit.vo.task;

import com.etone.smartAudit.enums.CheckState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: sovy
 * @date: 2020/7/30
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "TaskExecVO", description = "任务执行人")
public class TaskExecVO implements Serializable {

    @ApiModelProperty("执行人id")
    private Integer adminId;

    @ApiModelProperty("执行人名称")
    private String adminName;

    @ApiModelProperty("职位id")
    private Integer serviceExpertId;

    @ApiModelProperty("职位名称")
    private String serviceExpertName;

    @ApiModelProperty("执行天数|实际工时")
    private Double dayCnt;

    @ApiModelProperty("执行开始时间")
    private Date startTime;

    @ApiModelProperty("执行结束时间")
    private Date endTime;

    @ApiModelProperty("预计工时")
    private Double expectDayCnt;

    @ApiModelProperty("状态")
    private CheckState state;

    @ApiModelProperty("扩展信息")
    private String extendInfo;
}
